package com.xyzwps.ewa.ext

import io.ktor.server.application.*

fun ApplicationEnvironment.getStringConfig(path: String): String? =
    this.config.propertyOrNull(path)?.getString()?.takeIf { it.isNotBlank() }